<ion-view view-title="任务主页" >
  <ion-content overflow-scroll="true" style="overflow: hidden">
    <ion-refresher on-refresh="doRefresh()"
                   pulling-text="下拉刷新..."
                   refreshing-text="拼命加载中..."
                   refreshing-icon="ion-loading-b">

    </ion-refresher>

      <div class="list card" href="#" >
        <!--<div><span >我的任务待完成：</span>{{allMission}}</div>-->
        <div class="item button-bar" >
          <input class="" style="width: 65%;" type="tel" ng-model="orderid" placeholder="输入至少5位连续订单号">
          <a class="button" ng-click="searchMission(orderid)">搜索任务</a>
        </div>
        <!--<div class="item button-bar" >-->
          <!--<a class="button" ng-click="scanZbra()">扫码查找任务</a>-->
        <!--</div>-->
        <!--<div class="item button-bar" ng-repeat="item in MissionsType">
          <a class="button" ng-click="gotoMyMission(item.type)">{{item.name}} ({{item.count}})</a>
          <a class="button" ng-click="gotoMyMission(item.type)">{{item.name}} ({{item.count}})</a>
        </div>-->
        <!--<div class="item button-bar" >
          <a class="button" ng-click="gotoMyMission(MissionsType[0].type)">已领件 ({{MissionsType[0].count | number}})</a>
        </div>-->
        <div class="item button-bar" >
          <a class="button" ng-click="gotoMyMission(MissionsType[1].type)">在派送 ({{MissionsTypeCount | number}})</a>
        </div>
        <div class="item button-bar">
          <a class="button" ng-click="getURL('retrunGoods')">退 货 (<span style="color: red;">{{MissionsTypeTHH[0].count | number}}</span>)</a>
        </div>
        <div class="item button-bar">
          <a class="button" ng-click="getURL('exchangeGoods')">换 货 (<span style="color: red;">{{MissionsTypeTHH[1].count | number}}</span>)</a>
        </div>
      </div>
  </ion-content>
</ion-view>
